package com.qf.smsplatform.monitor.service.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Set;

@FeignClient(value = "sms-platform-cache")
public interface CacheService {

    // 提供keys命令
    @RequestMapping(value = "/cache/keys/{pattern}")
    Set<String> keys(@PathVariable(value = "pattern") String pattern);

}
